package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.GetTradeRecordListBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 交易流水账单列表分页查询  余额明细 BASE
 */

public class GetTradeRecordListBase {

    public interface IView {

        void showSuccessMsg(String s, GetTradeRecordListBean getTradeRecordListBean);


        void showErrorMsg(String s);
    }

    public interface IPresenter {


        void deliverData(RequestBody requestBody);

    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<GetTradeRecordListBean> callback);

    }

}
